import React, { Component } from 'react';
import { Card } from 'antd';
import { connect } from 'dva';
import PageHeaderLayout from '@/components/PageHeaderWrapper';

const pageTitle = "信息汇总";
// const reqApi = 'gather';

class page extends Component {
  state = {
    loading: false,
  };

  componentWillMount() {
    console.clear();
    this.funcGetListData();
  }

  // 获取列表数据
  funcGetListData = () => {
    // this.setState({ loading: true });
    // const { props } = this;
    // props.dispatch({
    //   type: reqApi + '/json',
    //   payload: {},
    // }).then(() => this.setState({ loading: false }));
  };

  render() {
    return (
      <PageHeaderLayout title={pageTitle}>
        <Card bordered={false} />
      </PageHeaderLayout>
    );
  }
}

export default connect(({ gather }) => ({ gather }))(page);
